Ruminations on Tarjan's Union-Find Algorithm and Connected Operators
نویسنده
چکیده
This papers presents a comprehensive and general form of the Tarjan’s unionfind algorithm dedicated to connected operators. An interesting feature of this form is to introduce the notion of separated domains. The properties of this form and its flexibility are discussed and highlighted with examples. In particular, we give clues to handle correctly the constraint of domain-disjointness preservation and, as a consequence, we show how we can rely on “union-find” to obtain algorithms for self-dual filters approaches and levelings with a marker function.
منابع مشابه
Fast Morphological Attribute Operations Using Tarjan's Union-Find Algorithm
Morphological attribute openings and closings and related operators are generalizations of the area opening and closing, and allow filtering of images based on a wide variety of shape or size based criteria. A fast union-find algorithm for the computation of these operators is presented in this paper. The new algorithm has a worst case time complexity of O(N logN) where N is the image size, as ...
متن کاملA Comparison of Algorithms for Connected Set Openings and Closings
ÐThe implementation of morphological connected set operators for image filtering and pattern recognition is discussed. Two earlier algorithms based on priority queues and hierarchical queues, respectively, are compared to a more recent union-find approach. Unlike the earlier algorithms which process regional extrema in the image sequentially, the union-find method allows simultaneous processing...
متن کاملA Note on Eswaran and Tarjan's Algorithm for the Strong Connectivity Augmentation Problem
In a seminal paper Eswaran and Tarjan [1] introduced several augmentation problems and presented linear time algorithms for them. This paper points out an error in Eswaran and Tarjan's algorithm for the strong connectivity augmentation problem. Consequently, the application of their algorithm can result in a network that is not strongly connected. Luckily, the error can be fixed fairly easily, ...
متن کاملOn Finding the Strongly Connected Components in a Directed Graph
We present two improved versions of Tarjan's algorithm for the detection of strongly connected components in a directed graph. Our new algorithms handle sparse graphs and graphs with many trivial components (containing only one node) more economically than Tarjan's original algorithm. As an application we present an eecient transitive closure algorithm.
متن کاملAn Optimal Distributed Algorithm for Computing Bridge-Connected
Consider a connected undirected graph G =< N , E >, where N is the set of n nodes, and E is the set of e edges. Without loss of generality, I assume N to be {1, 2, . . . , n}. An edge (i, j) ∈ E is a bridge of G if the removal of (i, j) disconnects G. Clearly, the removal of a bridge increases the number of connected components of a graph by one. The bridge-connected components problem consists...
متن کامل